Color.parse Method

Parses a color from a string.
 
 
Static This method is static.

Parameters

str

Type: String
The string to use to create the color.

Return Value


Type: Color
The color value or null if the color could not be parsed.